<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" isELIgnored="false"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> 
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="author" content="www.dachexing.cn" />
<meta name="applicable-device" content="mobile" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<title>中斗导航</title>
<link href="../css/public.css" rel="stylesheet" type="text/css" />
</head>
<body> 
<!--heade-->
<header>
    <div class="header">
    	<a class="new-a-back" href="javascript:history.back();"> <span><img src="../images/iconfont-fanhui.png"></span></a>
      	<h2>我的车辆</h2>
    	<a class="new-a-more" href="${pageContext.request.contextPath}/user/getNum?openid=${openid}"> <span><img src="../images/iconfont-user-black.png"></span></a>    
    </div>
</header>
<!--/header-->	
<ul class="w100 car_list">
	<c:forEach items="${list}" var ="li" varStatus="status">
		<li>
	    	<span class="part-shuzi">${status.count}.</span>
	    	<span class="part-con">
	        	<span class="text">车牌号：${li.carNum}<%-- (${li.carType}) --%></span>
	        	<span class="but1"><a href="${pageContext.request.contextPath}/gisCarCurrentPosInfo/getInfo?SimNum=${li.simNum}&carNum=${li.carNum}"><img src="../images/weizhi.png"  height="30"></a></span>
	        </span>
	    	<span class="part-con margintop">
	        	<span class="text2">全国货运平台<br>服务到期时间：</span><span class="color-red"><fmt:formatDate value="${li.SVREndTime}" pattern="yyyy-MM-dd"/></span>
	        	<a href="http://www.dachexing.cn/weixinPay/WeixinJSBridge.jsp?openId=${openid}&carNum=${li.carNum}" class="but2">我要续费</a>
	        	<%-- <span class="text3-2" data-val="${li.SVREndTime}">(此车辆服务已经过期或即将过期,请及时续费)</span> --%>
	        </span>
	    	<span class="part-con margintop">
	        	<span class="text2">人保车险<br>直销价格：</span><span class="text4">￥</span><span class="color-red"><fmt:formatNumber value="${li.jqx+li.ccsys+li.csx+li.dqx+li.dszzrx+li.csryzrx}" type="currency" pattern=".00"/></span>
	        	<a href="${pageContext.request.contextPath}/page/Contact.html" class="but4" onclick="purchase(‘${openid}’)">联系购买</a><a href="${pageContext.request.contextPath}/page/Price.jsp?jqx=${li.jqx}&ccsys=${li.ccsys}&csx=${li.csx}&dqx=${li.dqx}&dszzrx=${li.dszzrx}&csryzrx=${li.csryzrx}" class="but3">价格明细</a>
	        	<span class="text3">(以上保险按照上年度未出险计算)</span>
	        </span>
	    </li>
	</c:forEach>
</ul>
<!--kuaijie menu-->
<div class="jxplus">
    <div class="circle hides">
        <div class="jxicons">
            <ul>
                <li><a href="">首</a></li>
                <li class="line">|</li>
                <li><a onClick="onrefresh();">刷</a></li>
                <li class="line">|</li>
                <li><a  class="backtop">顶</a></li>
            </ul>
        </div>	
    </div>
    <div class="jxbtn off" style=" position:absolute;bottom:0;right:0px; z-index:1001"></div>
</div>
<div id="J_Shade" class="nones" style=""></div>    
<!--/kuaijie menu-->
<script src="../js/jquery-1.8.3.min.js"></script>
<script src="../js/jquery.common.js"></script>
<script src="../page/index.js"></script>
</body>
</html>